import type { AppRouteModule } from '@/router/types';

import { LAYOUT } from '@/router/constant';
// import { t } from '@/hooks/web/useI18n';

// prettier-ignore
const subRouter: AppRouteModule = {
  path: '/acl', name: 'acl', component: LAYOUT, meta: { icon: 'ion:tv-outline', title: '权限管理', orderNo: 1}, children: [
    { path: 'dept', name: 'dept', meta: { title: '部门管理' }, component: () => import('/@/pages/acl/dept/index.vue') },
    { path: 'userType', name: 'userType', meta: { title: '用户类型' }, component: () => import('/@/pages/acl/userType/index.vue') },
    { path: 'user', name: 'user', meta: { title: '用户管理' }, component: () => import('/@/pages/acl/user/index.vue') },
    { path: 'role', name: 'role', meta: { title: '角色管理' }, component: () => import('/@/pages/acl/role/index.vue') },
    { path: 'menu', name: 'menu', meta: { title: '菜单管理' }, component: () => import('/@/pages/acl/menu/index.vue') },
    { path: 'api', name: 'api', meta: { title: '接口管理' }, component: () => import('/@/pages/acl/role/index.vue') },

  ],
};
export default subRouter;
